package com.autel.webrtc.demo.common.coordination;

import java.util.HashMap;
import java.util.concurrent.ConcurrentHashMap;

/**
 * 两个互相关联的websocket会话
 * 一个是实际的设备通信 协调
 * 一个是 App端 用户操作控制
 */
public class SessionBindHolder {
    /**
     * key= orderId
     * hashMap.key=request.id
     * hashMap.value=answer.id
     */
    public ConcurrentHashMap<String, HashMap<String, String>> businessBindSocket = new ConcurrentHashMap<>();
    /**
     * 房间数据持有者  ContextId+GROUP_CODE
     */
    public HashMap<String, Object> roomIdMap = new HashMap<>();
}
